-
Notifications
You must be signed in to change notification settings - Fork 27
feat: high-level did helper api #881
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
* fix: make sure existing keyAgreement VMs are replaced * fix: use correct extrinsic for assertionMethod
Co-authored-by: Raphael Flechtner <39338561+rflechtner@users.noreply.github.com>
* refactor: move did helpers interfaces to types * refactor: make sure issuer/holder functions can work with did helpers * chore: nitpicks * refactor!: move issuer options use them on lower-level issue too * test: fix unit tests
* fix: unsigned submittable * fix: import * fix: tests * fix: merge issues * fix: addressFromRandom * chore: move test to integration * fix: lint * chore: use return in extractSubmitter --------- Co-authored-by: Raphael Flechtner <raphael@kilt.io>
@Dudleyneedham & @ntn-x2 The Did helper implementation is now completed and all issues we found have been fixed. This PR gives you a chance to skim over the aggregated changes; I would would merge this to develop shortly and start preparing a beta release from there.
|
@Dudleyneedham & @ntn-x2 I'm not expecting a thorough review here, but you may want to skim over it and check that you are happy with the high-level changes |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! I personally would like to see some clean up in the future. There are some internal code that are messy. Due to time constraints I would consider this debt we have accumulated.
Secondly, after using and showing it to people it feels way better and more simple.
Great job guys.
Don't forget we need to expose the CType in the SDK js
fixes https://github.com/KILTprotocol/ticket/issues/3359
Adds a high-level did api for simplifying the most common DID management operations.
How to test:
Currently covered by integration- and unit tests; I'd suggest we release a beta after merging this to develop.
Checklist: